package com.gupao.study.single;

public class Test {
    public static void main(String[] args) {
        //10个线程同时去获取对象，打印对象的地址
        for (int i=0;i<10;i++){
            new Thread(() -> {
               Object obj =  ContainerSingleton.getBean("com.gupao.study.single.UserSingleton");
               System.out.println(obj);
            }).start();
        }
    }
}
